package com;

import java.math.BigDecimal;

public class User {
    String name;
    Integer age;
    String sex;
    String from;
    BigDecimal bigDecimal;
    public User() {
    }

    public User(String name, Integer age, String sex, String from, BigDecimal bigDecimal) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.from = from;
        this.bigDecimal = bigDecimal;
    }

    public User(String name, Integer age, String sex, String from) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.from = from;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public BigDecimal getBigDecimal() {
        return bigDecimal;
    }

    public void setBigDecimal(BigDecimal bigDecimal) {
        this.bigDecimal = bigDecimal;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", from='" + from + '\'' +
                ", bigDecimal=" + bigDecimal +
                '}';
    }
}
